<template>
    <div class="nav">
        <div class="nav-item left">
            <img :src="publicUrl('/img/logo.png')" class="logo" />
        </div>
        <div class="nav-item">
            <NuxtLink to="https://m.haofangtiao.cn/zs">
                <span class="home-logo">
                    <NuxtIcon name="home"></NuxtIcon>
                </span>
                <span>{{transl('首页')}}</span>
            </NuxtLink>
        </div>
    </div>
</template>
    
<script setup lang='ts'>
import { publicUrl } from "@/utils/index"
import { LangStore } from "@/stores/modules/lang"
const { transl } = LangStore()
</script>
    
<style scoped lang="scss">
@import "./index.scss";
</style>